package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2025-05-14
 */
@Getter
@Setter
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "schedule_id", type = IdType.AUTO)
    private Integer scheduleId;

    private Integer deptId;

    private Integer personId;

    private LocalDate date;

    // 班次（早、中、晚）
    private String shift;

    private Boolean isLeave = false;

    private Boolean leaveApproved = false;

    private Integer substitutePersonId = null;
}
